//
//  LHNetWorkRequestManager.h
//  EPA
//
//  Created by 卢浩 on 16/4/15.
//  Copyright © 2016年 卢浩. All rights reserved.
//

#import <Foundation/Foundation.h>

//定义枚举
typedef NS_ENUM(NSInteger) {
    GET,
    POST
}URLRequestMethed;

//定义返回值block网络请求结果
typedef void(^ResultBlock)(NSData *data,NSURLResponse *response,NSError *error);

@interface LHNetWorkRequestManager : NSObject

//请求方法
+ (void)requestUrl:(NSURL *)url Methed:(URLRequestMethed)methed Params:(NSDictionary *)param Result:(ResultBlock)resultBlock;

+ (NSString *)strWithDict:(NSDictionary *)dict;

@end
